package com.hqyj.mall.xiaomimall.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hqyj.mall.xiaomimall.entity.Items;

import java.util.List;

public interface ItemsService extends IService<Items> {

    //根据商品编号查询单个商品
    public Items queryItemById(Integer id);

    //根据商品分类查询指定的商品集合
    public List<Items> queryItemsListByCatalogName(String catalogName);


    //根据商品分类分页商品集合
    public Page<Items> queryItemsPagerByCatalogName(String catalogName,Integer currentPageNumber);
}
